<?php
/*
 * Created on 30.05.2007
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */

  class Spiel extends Doctrine_Record {

	public function setUp() {

	}
	public function setTableDefinition () {

		$this->setTableName("spiel");

		$this->hasColumn
		(
			"gegner",
			"string",
			50

		);

		$this->hasColumn
		(
			"hattrickGegner_id",
			"integer"

		);

		$this->hasColumn
		(
			"hattrickSpiel_id",
			"integer"

		);

		$this->hasColumn
		(
			"datum",
			"date"

		);

		$this->hasColumn
		(
			"bewertet",
			"boolean"

		);

		$this->hasColumn
		(
			"eigeneTore",
			"integer"

		);

		$this->hasColumn
		(
			"gegnerTore",
			"integer"

		);
	}
 }
?>
